﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="PersonLeave.aspx.cs" Inherits="App_Input_PersonLeave" Title="员工请假单信息" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
<table class="table_border_line">
    <tr>
                  <th colspan="10" align="left" style="text-align: left;">

                      <script language="javascript">
        (new TitleBar('SearchBar', '员工请假单')).showBar();
                      </script>

                  </th>
        
              </tr>
    <tr>
                        <td style="width: 3%; text-align: right; height: 30px;">
                            <span style="color: #ff7300"></span>
                        </td>
                        <td style="width: 11%; white-space: nowrap; text-align: right; height: 30px;">
                            员工姓名:</td>
                        <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                            &nbsp;
                            <asp:Label ID="EmployeeId" runat="server"></asp:Label></td>
                        <td style="width: 6%; white-space: nowrap; text-align: left; height: 30px;">
                        </td>
                        <td style="width: 10%; white-space: nowrap; text-align: right; height: 30px;">
                            部门:</td>
                        <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                            &nbsp;
                            <asp:Label ID="group" runat="server"></asp:Label></td>
                        <td style="width: 5%; white-space: nowrap; text-align: left; height: 30px;">
                        </td>
                        <td style="width: 10%; white-space: nowrap; text-align: right; height: 30px;">
                            职位:</td>
                        <td style="width: 30%; white-space: nowrap; text-align: left; height: 30px;">
                            &nbsp;<asp:Label ID="job" runat="server"></asp:Label></td>
        <td style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
        </td>
                    </tr>
    <tr>
        <td style="width: 3%; text-align: right; height: 30px;">
        </td>
        <td style="width: 11%; white-space: nowrap; text-align: right; height: 30px;">
            申请假别&nbsp;
        </td>
        <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
            <asp:DropDownList ID="LeaveType" runat="server" DataTextField="Content" DataValueField="DictNo">
            </asp:DropDownList></td>
        <td style="width: 6%; white-space: nowrap; text-align: left; height: 30px;">
        </td>
        <td style="width: 10%; white-space: nowrap; text-align: right; height: 30px;">
            状态:
        </td>
        <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
            &nbsp;
            <asp:Label ID="status" runat="server"></asp:Label></td>
        <td style="width: 5%; white-space: nowrap; text-align: left; height: 30px;">
        </td>
        <td style="width: 10%; white-space: nowrap; text-align: right; height: 30px;">
            审批人:</td>
        <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
            <asp:DropDownList ID="DropDownList1" runat="server" DataTextField="EmployeeName" DataValueField="EmployeeId">
            </asp:DropDownList></td>
        <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
        </td>
    </tr>
    <tr>
        <td style="width: 3%; text-align: right; height: 91px;">
        </td>
        <td style="width: 11%; white-space: nowrap; text-align: right; height: 91px;">
            &nbsp;申请事由&nbsp;</td>
        <td colspan="7" style="white-space: nowrap; text-align: left; height: 91px;">
            <asp:TextBox ID="LeaveMemo" runat="server" Rows="5" TextMode="MultiLine" Width="94%"></asp:TextBox></td>
        <td colspan="1" style="width: 99px; white-space: nowrap; height: 91px; text-align: left">
        </td>
    </tr>
    <tr>
        <td style="width: 3%; text-align: right; height: 30px;">
            <span style="color: #ff7300">&nbsp;</span></td>
        <td style="width: 11%; white-space: nowrap; text-align: right; height: 30px;">
            <span style="color: #ff7300">*</span>请假日期&nbsp;</td>
        <td colspan="7" style="white-space: nowrap; text-align: left; height: 30px;">
            <asp:TextBox ID="BeginDate" runat="server" MaxLength="10" onfocus="new Calendar(1900,2015,0,null).show(this);"
                Width="89px"></asp:TextBox><asp:TextBox ID="BeginTime" runat="server"
                    MaxLength="5" Width="55px"></asp:TextBox>(格式：hh:mm)～<asp:TextBox ID="EndDate" runat="server"
                        MaxLength="10" onfocus="new Calendar(1900,2015,0,null).show(this);" Width="89px"></asp:TextBox><asp:TextBox
                            ID="EndTime" runat="server" MaxLength="5" Width="55px"></asp:TextBox>(格式：hh:mm)</td>
        <td colspan="1" style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
        </td>
    </tr>
    <tr>
        <td style="width: 3%; text-align: right; height: 30px;">
        </td>
        <td style="width: 11%; white-space: nowrap; text-align: right; height: 30px;">
            共计时间&nbsp;</td>
        <td colspan="7" style="white-space: nowrap; text-align: left; height: 30px;">
            <asp:TextBox ID="LeaveDay" runat="server" Width="89px"></asp:TextBox>天<asp:TextBox
                ID="LeaveHour" runat="server" Width="89px"></asp:TextBox>小时</td>
        <td colspan="1" style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
        </td>
    </tr>
</table>
<br />
<table class="table_border_line">
<tr>
<td style="text-align:center;">
    <asp:Button ID="Button1" runat="server" Text="保 存" OnClick="Button1_Click" />&nbsp;<asp:Button ID="Button2"
        runat="server" Text="提 交" OnClick="Button2_Click" />&nbsp;<asp:Button ID="Button3" runat="server" Text="审 批" OnClick="Button3_Click" />&nbsp;<asp:Button
            ID="Button4" OnClick="Button4_Click" runat="server" Text="返 回" /></td>
</tr>
</table>
</div>
    <asp:HiddenField ID="hfEmployeeId" runat="server" />
    <cc1:comvalidator id="ComValidator1" runat="server" checkitems-capacity="8"><cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="BeginDate"><cc1:ComAbsParamsAttribute Parameter="开始日期"></cc1:ComAbsParamsAttribute>
</cc1:CheckRequiredAttribute>
<cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="BeginTime"><cc1:ComAbsParamsAttribute Parameter="开始时间"></cc1:ComAbsParamsAttribute>
</cc1:CheckRequiredAttribute>
<cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="EndDate"><cc1:ComAbsParamsAttribute Parameter="结束日期"></cc1:ComAbsParamsAttribute>
</cc1:CheckRequiredAttribute>
<cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="EndTime"><cc1:ComAbsParamsAttribute Parameter="结束时间"></cc1:ComAbsParamsAttribute>
</cc1:CheckRequiredAttribute>
        <cc1:CheckDateRangeAttribute Code="E0078" ControlToValidator1="BeginDate" ControlToValidator2="EndDate">
            <cc1:ComAbsParamsAttribute Parameter="开始日期" />
            <cc1:ComAbsParamsAttribute Parameter="结束日期" />
        </cc1:CheckDateRangeAttribute>
</cc1:comvalidator>
</asp:Content>

